Skip to content

Auto actions for dependabot - #20

Merged
pkthong merged 3 commits into
mainfrom
auto_dependabot
Aug 25, 2026
Merged

Auto actions for dependabot#20
pkthong merged 3 commits into
mainfrom
auto_dependabot

Conversation

@pkthong

@pkthong pkthong commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

What does this Pull Request accomplish?

Adding new actions for auto approve and merge for dependabot changes.

Why should this Pull Request be merged?

Only allowing update and patch versions bumps after PR tests pass.

@ni-github-admins

ni-github-admins commented Aug 25, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a GitHub Actions workflow intended to automatically approve and enable auto-merge for Dependabot pull requests, limited to non-breaking version bumps.

Changes:

  • Introduces a new workflow to fetch Dependabot metadata and conditionally auto-approve/auto-merge PRs.
  • Configures job-level permissions needed for PR approval and merging.
Suppressed comments (1)

.github/workflows/auto_dependabot.yml:31

  • This only enables auto-merge for semver patch updates, but the stated intent is to allow patch + (minor) updates. Also consider using PR_URL directly (it is already set in env) to avoid relying on the PR number alone.
        if: steps.metadata.outputs.update-type == 'version-update:semver-patch'
        run: gh pr merge ${{ github.event.pull_request.number }} --squash --auto

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/auto_dependabot.yml Outdated
Comment thread .github/workflows/auto_dependabot.yml Outdated
@pkthong
pkthong enabled auto-merge August 25, 2026 17:47
Comment thread .github/workflows/report_test_results.yml
@alexdubois-ni
alexdubois-ni self-requested a review August 25, 2026 18:10

@alexdubois-ni alexdubois-ni left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pkthong
pkthong merged commit 50bfe6a into main Aug 25, 2026
29 checks passed
@pkthong
pkthong deleted the auto_dependabot branch August 25, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants